package com.yn.bsc.service.impl;

import com.yn.bsc.dao.GeometryDictionaryMapper;
import com.yn.bsc.model.GeometryDictionary;
import com.yn.bsc.service.GeometryDictionaryService;
import com.yn.bsc.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by ZuoLG on 2017/09/20.
 */
@Service
@Transactional
public class GeometryDictionaryServiceImpl extends AbstractService<GeometryDictionary> implements GeometryDictionaryService {
    @Resource
    private GeometryDictionaryMapper geometryDictionaryMapper;

    @Override
    public List<String> findAllAreas() {
        return geometryDictionaryMapper.getAllAreas();
    }
}
